<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>js Break 和 Continue 语句</title>
</head>
<body>
	<script type="text/javascript">
		/**
		 *  break 语句可用于跳出循环
			continue 语句跳出本次循环，继续执行
		 */
		
		// for (var i=0;i<10;i++){
		//     if (i==3)
		//     {
		//         break;
		//     }
		//     console.log( "The number is " + i + "<br>");
		// }



		for (var i=0;i<10;i++){
		    if (i==3){ 
		    	continue;
		    }
		    console.log("The number is " + i + "<br>");
		}
	</script>
</body>
</html>